<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title>
    <link rel="stylesheet" type="text/css" href="../css/myStyle.css" />
     <script type="text/javascript" src="../js/DEV_jquery-1.8.3.js"></script>
	<script type="text/javascript" src="../js/jquery-1.8.3.min.js"></script>
 

    <script language="javascript">
	
   
                function checkLogin()
				{
					user = document.getElementById("txtUser");
					pass = document.getElementById("txtPass");
                    if(user.value=="")
					{
                        alert('Vui lòng nhập tên đăng nhập.');
						user.focus();
                        return false;
                    }
				    if(pass.value=="")
					{
                        alert('Vui lòng nhập mật khẩu(6-20 kí tự).');
						pass.focus();
                        return false;
                    }
                    return true;
                }
      </script>
</head>

<body>
<?php
	session_start();
?> 
	 
    <div id="header">
        <?php
            include_once("../inc/header.php");
        ?>
            
    </div>
    <div id="container">
   	  	<div id="menu">
			<?php 
				include_once ("../inc/menu.php");
			?>			
     	</div>
    	<div id="menuLeft">
        	<?php
            	include_once ("../inc/menuLeft.php");
			?>
        </div>
        <div id="menuRight">
        	<h2>Khung tìm kiếm </h2>
        </div> 
        <div id="banner">
        	<?php
				include_once("../inc/banner.php");
            ?>
        </div>
        <div id="content"> 
        	<?php
			if(!isset($_REQUEST["act"])){
				$action = 0;
				include_once ("../inc/content.php");
			}
			else
			{ 
				$action = $_REQUEST["act"];
				switch ($action) {
					case 1:
						include_once ("../inc/content.php");
						break;
					case 2:
						include_once ("../pages/dangki.php");
						break;
					case 3:
						include_once ("../pages/themsanpham.php");
						break;
					default:
						include_once ("../inc/content.php");
						break;
				}
			}
            ?>            
        </div>
    </div>
    <div id="bottom">
    	<?php
            include_once("../inc/bottom.php");
        ?>
    </div>
    
    
</body>
</html>